// 提交 mutations是更改Vuex状态的唯一合法方法
export const modifyKgName = (state, name) => {
    state.kgNameGlobal = name
}
export const modifyKgInfo = (state, kgInfo) => {
    state.kgInfo = kgInfo
}
export const modifyKgInfo_JSON = (state, kgInfoStr) => {
    let kgInfoObj = JSON.parse(kgInfoStr);
    state.kgInfo = kgInfoObj;
}
